package com.ylw.project.constant;

/**
 * ui资源的文件后缀
 */
public enum ConfigResources {
    DOMAIN("DOMAIN_EXP.XML"),
    EXP("_EXP.XML");
    String value;

    ConfigResources(String value) {
        this.value = value;
    }

    public static boolean endWith(String value){
        for (ConfigResources ui : ConfigResources.values()) {
            if(value.toUpperCase().endsWith(ui.value)){
                return true;
            }
        }
        return false;
    }
}
